package no.ntnu.item.ttm4120.dhcp;

import java.net.InetAddress;

import no.ntnu.item.ttm4120.dhcp.data.Address;
import no.ntnu.item.ttm4120.dhcp.data.AddressPoolEntity;
import no.ntnu.item.ttm4120.dhcp.exception.AddressPoolException;
import gmi.ExternalGMIListener;

public interface AddressServerEGMI extends ExternalGMIListener{

	public AddressPoolEntity getNewAddress(String client, long lease) throws AddressPoolException;
	public long getLeaseLength(InetAddress inetAddress);
	public void refreshLease(InetAddress inetAddress, long lease);
}
